package com.techstar.api.pojo.public_transport;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.StrDateDeserializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@ToString
@Table(name = "gis_public_transport_taxi_realtime_district_od")
@org.hibernate.annotations.Table(appliesTo = "gis_public_transport_taxi_realtime_district_od", comment="gis 出租车当前时间某行政区OD分布")
public class TaxiRealtimeDistrictOd {

    @Id
    @Column(columnDefinition="varchar(100) COMMENT '当前行政区标识'")
    private String distId;
    @Column(columnDefinition="varchar(100) COMMENT '当前行政区名称'")
    private String distName;
    @Column(columnDefinition="varchar(100) COMMENT '累计吸引量'")
    private String accInFlow;
    @Column(columnDefinition="varchar(100) COMMENT '累计发生量'")
    private String accOutFlow;
    @Column(columnDefinition="varchar(100) COMMENT '序号'")
    private String orderNo;
    @Column(columnDefinition="varchar(100) COMMENT '业务更新时间'")
    @JsonDeserialize(using = StrDateDeserializer.class)
    private String createTime;



}
